package com.bbm.bbmanage.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bbm.bbmanage.entity.Reserve;
import com.bbm.bbmanage.entity.vo.ResponseResult;
import com.bbm.bbmanage.entity.dto.IdList;


/**
 * 房间预定表(Reserve)表服务接口
 *
 * @author lionkliu
 * @since 2023-12-13 11:41:43
 */
public interface ReserveService extends IService<Reserve> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(Reserve reserve);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(Reserve reserve);

    ResponseResult getReserveByUserId(Integer userId);

    ResponseResult deleteBatchByIds(IdList ids);

    ResponseResult updateBatchByIds(IdList reserveList);

    ResponseResult getNoPayReserveByUserId(Integer userId);

    ResponseResult search(Integer pageNum, Integer pageSize, Integer isPay, Integer userId, Integer houseId);
}

